<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<title>Site Administration</title>
    <?php echo javascript_form_defaults()?>
    <?php echo javascript_defaults()?>
    <script src="<?php echo get_installed_path() ?>/js/admin.js" type="text/javascript" language="javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="<?php echo get_installed_path() ?>/css/forms.css" type="text/css" media="screen" title="no title" charset="utf-8" />
    <link rel="stylesheet" href="<?php echo get_installed_path() ?>/css/admin.css" type="text/css" media="screen" title="no title" charset="utf-8" />
        
    <style type="text/css" media="screen">
    /* <![CDATA[ */
        body, .submit {
            font-size:xx-small;
        }
        body {
            background:  #fff;
        }
        #wrap {
            padding:0px;
            border:0;
        }
        #add_new {
            margin:0;
            text-align:left;
        }
        input, img {
            border:0;
        }
    /* ]]> */
    </style>
    
</head>
<body>
    <div id='wrap'>    
        <div id='content_wrap'>  
            <?php
                if ( $msg = flash('notice') )
                {
                    echo "<div id='success_notices' class='flash_notice' style='display:none'>$msg</div>";
                    echo "<script>Effect.toggle('success_notices', 'appear');setTimeout(\"new Effect.Fade('success_notices')\",3000)</script>";
                }
                if ( $msg = flash('error') )
                {
                    echo "<div class='flash_error'>$msg</div>";
                }
            ?>        
            <?php echo $content_for_layout?>
        </div>
    </div>
    
</body>
</html>
